-- GENERATED SPELL FOR [Young Wolf] --


function spell0_299(pUnit, Event) --@Furious Howl,Self--
pUnit:FullCastSpellOnTarget(24604,pUnit)
pUnit:RegisterEvent('Sorts_299', 20000, 1)
end

function Sorts_299(pUnit, Event)
local choix_sorts_299 = math.random(0, 0)
if choix_sorts_299 == 0 then
pUnit:RegisterEvent('spell0_299', 1, 1)
end
end

function mob299_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_299', math.random(1500, 3000), 1)
end

function mob299_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob299_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob299_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(299, 1, 'mob299_Action')
RegisterUnitEvent(299, 2, 'mob299_Leave')
RegisterUnitEvent(299, 3, 'mob299_Kill')
RegisterUnitEvent(299, 4, 'mob299_Die')
